package com.mingqijia.gassafety.webserver.response.client;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *
 * @author wanghai
 * @since 2022-06-20
 */

@Data
@ApiModel("报警器首页设备列表")
public class DtuResponse {
    @ApiModelProperty(value = "设备id")
    private String id;
    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "设备类型")
    private String equipmentType;

    @ApiModelProperty(value = "设备位置")
    private String installationPosition;

    @ApiModelProperty("设备状态  0:离线 1:正常 2:低报 3:高报 4:故障 5:过期 6:报警")
    private Integer equipmentStatus;

    @ApiModelProperty("imei")
    private String imei;

    @ApiModelProperty("控制器下点型探测器的 报警数")
    private Integer alarmSum;

    @ApiModelProperty("控制器下点型探测器的 故障数")
    private Integer faultSum;

    @ApiModelProperty("控制器下点型探测器的 离线数")
    private Integer offlineSum;

    @ApiModelProperty("控制器下点型探测器的 正常数")
    private Integer normalSum;

    @ApiModelProperty("信号值")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer signal;

    // for kitchen
    @ApiModelProperty("户号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String subsCode;

    // for kitchen
    @ApiModelProperty("手机号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String phone;

    @ApiModelProperty("设备来源：0：默认 1：紫荆wifi设备")
    private Integer equipmentFrom;

    @ApiModelProperty(value = "运行报告状态：0-展示 1-不展示 ")
    private Integer dispaly;

    @ApiModelProperty(value = "运行报告配置：0-展示 1-不展示 ")
    private Integer configuration;

    @ApiModelProperty(value = "服务到期状态配置：0-展示 1-不展示 ")
    private Integer serviceConfiguration;

    @ApiModelProperty(value = "服务到期状态：0：正常，1：设备即将超期，2：设备已超期")
    private Integer serviceStatus;

}
